

package com.maoshi.shop.bean.dto;

import com.maoshi.shop.bean.model.OrderItem;
import com.maoshi.shop.bean.model.OrderRefund;
import com.maoshi.shop.bean.model.RefundDelivery;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Set;

@Data
@EqualsAndHashCode(callSuper = false)
public class OrderRefundDto extends OrderRefund implements Serializable {

    /**
     * 订单编号
     */
    private String orderNumber;

    /**
     * 实际总值
     */
    private Double orderAmount;

    /**
     * 支付单ID
     */
    private Long settlementId;

    /**
     * 支付单号
     */
    private String orderPayNo;

    /**
     * 收货地址对象
     */
    private RefundDelivery refundDelivery;

    /**
     * 店铺名称
     */
    private String shopName;

    /**
     * 订单支付时间
     */
    private Date orderPayTime;

    /**
     * 申请类型:1,仅退款,2退款退货
     */
    private Integer applyType;

    /**
     * 订单项
     */
    private List<OrderItem> orderItems = new ArrayList<>();
    /**
     * 订单退款状态
     */
    private String refundStatus;
    /**
     * 订单状态
     */
    private Integer status;
    /**
     * 订单类型 1团购订单 2秒杀订单 3积分订单
     */
    private Integer orderType;

}
